<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>libasyncd: ad_http_s Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">libasyncd
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structad__http__s.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">ad_http_s Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a64ea17af0a96e99853d6fc2a08bfe23b"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:af95bd13d82e172b23dcd4664c50aa209"><td class="memItemLeft" >&#160;&#160;&#160;enum <a class="el" href="ad__http__handler_8h.html#a5492f236970d745247b5f5ba47eb9b82">ad_http_request_status_e</a>&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a08609c6955339c939e1f46f8e00e164e">status</a></td></tr>
<tr class="separator:af95bd13d82e172b23dcd4664c50aa209"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0db4577562484837a487c3eb79684686"><td class="memItemLeft" >&#160;&#160;&#160;struct evbuffer *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#adb7444a8f1879654976dbde11b27bcee">inbuf</a></td></tr>
<tr class="separator:a0db4577562484837a487c3eb79684686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7553ce7808762cc0a2d009d74ed8266d"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#aa01e34066ff0db7db68172c9089f6e69">method</a></td></tr>
<tr class="separator:a7553ce7808762cc0a2d009d74ed8266d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84089e2d0edf8626afa1c7a5ddcbcb4b"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a2192371be64acdb89a64f00c5890cbf3">uri</a></td></tr>
<tr class="separator:a84089e2d0edf8626afa1c7a5ddcbcb4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8ee1c48b5425a0f1bbd7624a7063e84"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a13091fc281ea98166a82dbb3a3b0a8fb">httpver</a></td></tr>
<tr class="separator:ae8ee1c48b5425a0f1bbd7624a7063e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a288f29c2ef498a8ff902682513a62d04"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a50f31e3ca4954f6ae7d8944e531e7609">path</a></td></tr>
<tr class="separator:a288f29c2ef498a8ff902682513a62d04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0024eed296db2fb0c134ac026de789"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a007aa07af67fc4bf6d3aa62e726a8527">query</a></td></tr>
<tr class="separator:a1d0024eed296db2fb0c134ac026de789"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e5881adaf5f0b2cf6c517c737dff8aa"><td class="memItemLeft" >&#160;&#160;&#160;qlisttbl_t *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a1b087616782ae37954bc9c84efcddfcb">headers</a></td></tr>
<tr class="separator:a0e5881adaf5f0b2cf6c517c737dff8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac23e05b30d4ae128bdc6fa9920d403ad"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a77545254e60b3c635c49efa321cfb054">host</a></td></tr>
<tr class="separator:ac23e05b30d4ae128bdc6fa9920d403ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9412d1c6d287bbc48c2dbaed71f4250"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a129ec0244515d298b2d27bf99716e0b9">domain</a></td></tr>
<tr class="separator:ac9412d1c6d287bbc48c2dbaed71f4250"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b28ae9253d49b38232fa784c414c152"><td class="memItemLeft" >&#160;&#160;&#160;off_t&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a403c92ef9659a9ba550d17ee9745fd94">contentlength</a></td></tr>
<tr class="separator:a2b28ae9253d49b38232fa784c414c152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fc447f1bac1ae5a1b1853da83bd0117"><td class="memItemLeft" >&#160;&#160;&#160;size_t&#160;&#160;&#160;<a class="el" href="structad__http__s.html#abae1ecb8ffe1c2b514f8a490ed0364c6">bodyin</a></td></tr>
<tr class="separator:a5fc447f1bac1ae5a1b1853da83bd0117"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64ea17af0a96e99853d6fc2a08bfe23b"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structad__http__s.html#a64ea17af0a96e99853d6fc2a08bfe23b">request</a></td></tr>
<tr class="separator:a64ea17af0a96e99853d6fc2a08bfe23b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa9b5bba38a8e02cbdfc96e654db1d9"><td class="memItemLeft" >struct {</td></tr>
<tr class="memitem:adc1629f3927d08dc1aac977479229ccf"><td class="memItemLeft" >&#160;&#160;&#160;struct evbuffer *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a91a877df088b8c66af600e14948d0b6d">outbuf</a></td></tr>
<tr class="separator:adc1629f3927d08dc1aac977479229ccf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bde3492b598afdefc06596718d0ede0"><td class="memItemLeft" >&#160;&#160;&#160;bool&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a292d39919e0834e76e44621d052a9a95">frozen_header</a></td></tr>
<tr class="separator:a3bde3492b598afdefc06596718d0ede0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad4157f23a61db5ce5cd4f54d5580c32"><td class="memItemLeft" >&#160;&#160;&#160;int&#160;&#160;&#160;<a class="el" href="structad__http__s.html#ad9b68dc98b0718b42b7ad1ced7d415f5">code</a></td></tr>
<tr class="separator:aad4157f23a61db5ce5cd4f54d5580c32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a116236499d6529cb983f0827d5bcd40a"><td class="memItemLeft" >&#160;&#160;&#160;char *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#ac812fecbfc3d456fa089cae226b7c600">reason</a></td></tr>
<tr class="separator:a116236499d6529cb983f0827d5bcd40a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a400bbd7218a13ccbe24fea8c0432213f"><td class="memItemLeft" >&#160;&#160;&#160;qlisttbl_t *&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a1b087616782ae37954bc9c84efcddfcb">headers</a></td></tr>
<tr class="separator:a400bbd7218a13ccbe24fea8c0432213f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d2b0050b776851867f545fddb055a76"><td class="memItemLeft" >&#160;&#160;&#160;off_t&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a403c92ef9659a9ba550d17ee9745fd94">contentlength</a></td></tr>
<tr class="separator:a5d2b0050b776851867f545fddb055a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3618fe679e82218c2d1e0b4a34541a5"><td class="memItemLeft" >&#160;&#160;&#160;size_t&#160;&#160;&#160;<a class="el" href="structad__http__s.html#a540f3f70258433ff7568283f6e478261">bodyout</a></td></tr>
<tr class="separator:ae3618fe679e82218c2d1e0b4a34541a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa9b5bba38a8e02cbdfc96e654db1d9"><td class="memItemLeft" valign="top">}&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structad__http__s.html#a8aa9b5bba38a8e02cbdfc96e654db1d9">response</a></td></tr>
<tr class="separator:a8aa9b5bba38a8e02cbdfc96e654db1d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00133">133</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a08609c6955339c939e1f46f8e00e164e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ad__http__handler_8h.html#a5492f236970d745247b5f5ba47eb9b82">ad_http_request_status_e</a> ad_http_s::status</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>request status. </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00136">136</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="adb7444a8f1879654976dbde11b27bcee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct evbuffer* ad_http_s::inbuf</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>input data buffer. </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00137">137</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa01e34066ff0db7db68172c9089f6e69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::method</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>request method ex) GET </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00140">140</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2192371be64acdb89a64f00c5890cbf3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::uri</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>url+query ex) /data%20path?query=the%20value </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00141">141</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a13091fc281ea98166a82dbb3a3b0a8fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::httpver</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>version ex) HTTP/1.1 </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00142">142</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a50f31e3ca4954f6ae7d8944e531e7609"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::path</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>decoded path ex) /data path </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00143">143</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a007aa07af67fc4bf6d3aa62e726a8527"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::query</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>query string ex) query=the%20value </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00144">144</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1b087616782ae37954bc9c84efcddfcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qlisttbl_t* ad_http_s::headers</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>parsed request header entries</p>
<p>response header entries </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00147">147</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a77545254e60b3c635c49efa321cfb054"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::host</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>host ex) www.domain.com or www.domain.com:8080 </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00148">148</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a129ec0244515d298b2d27bf99716e0b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::domain</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>domain name ex) www.domain.com (no port number) </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00149">149</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a403c92ef9659a9ba550d17ee9745fd94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">off_t ad_http_s::contentlength</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>value of Content-Length header.</p>
<p>content length in response </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00150">150</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="abae1ecb8ffe1c2b514f8a490ed0364c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t ad_http_s::bodyin</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>bytes moved to in-buff </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00151">151</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a64ea17af0a96e99853d6fc2a08bfe23b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }   ad_http_s::request</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a91a877df088b8c66af600e14948d0b6d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct evbuffer* ad_http_s::outbuf</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>output data buffer. </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00156">156</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a292d39919e0834e76e44621d052a9a95"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ad_http_s::frozen_header</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>indicator whether we sent header out or not </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00157">157</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad9b68dc98b0718b42b7ad1ced7d415f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ad_http_s::code</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>response status-code </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00160">160</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac812fecbfc3d456fa089cae226b7c600"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">char* ad_http_s::reason</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>reason-phrase </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00161">161</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a540f3f70258433ff7568283f6e478261"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t ad_http_s::bodyout</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>bytes added to out-buffer </p>

<p>Definition at line <a class="el" href="ad__http__handler_8h_source.html#l00164">164</a> of file <a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8aa9b5bba38a8e02cbdfc96e654db1d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct { ... }   ad_http_s::response</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>/home/wolkykim/ws/libasyncd/include/asyncd/<a class="el" href="ad__http__handler_8h_source.html">ad_http_handler.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structad__http__s.html">ad_http_s</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
